package org.springblade.modules.repair.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;

/**
 * @Description
 * @Author ysq
 * @Date 2023/3/14
 **/
@Data
public class ByPlanHistorySkipDTO {

	@ApiModelProperty("用户列表")
	@NotNull(message = "开始时间不能为空")
	private List<Long> userIds;

	@JsonFormat(pattern = "yyyy-MM-dd")
	@ApiModelProperty(value = "开始时间")
	private Date startTime;

	@JsonFormat(pattern = "yyyy-MM-dd")
	@ApiModelProperty(value = "结束时间")
	private Date endTime;

	@ApiModelProperty("电梯id")
	private Long elevatorId;

	@ApiModelProperty("及时性 1-及时 2-逾期")
	private List<Integer> timeliness;

	@ApiModelProperty("时长 1-正常 2-过长 3-过短")
	private List<Integer> duration;

	@ApiModelProperty("模板id")
	private List<Long> templateIds;

	@ApiModelProperty("签到 1-正常 2-签到定位异常 3-签退定位异常 4-系统代签")
	private List<Integer> sign;

	private List<Integer> planStatus;

	private String keyword;

	private List<Integer> overdue;

}
